﻿using CRM.Admin.Contracts.Dto.Customer;
using CRM.Admin.Contracts.Model.Map;
using KingsSharp.Common.Data;
using KingsSharp.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CRM.Admin.Contracts.Contract.Customer
{
    /// <summary>
    /// 简介
    /// </summary>
    public  interface IAreaProfilesService:IDependency
    {
        /// <summary>
        /// 新增
        /// </summary>
        /// <param name="dtos"></param>
        /// <returns></returns>
        OperationResult Insert(params AreaProfilesDto[] dtos);
        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="dtos"></param>
        /// <returns></returns>
        OperationResult Update(params AreaProfilesDto[] dtos);
        /// <summary>
        /// 需求情况按地区明细集合
        /// </summary>
        IQueryable<AreaProfilesInfo> AreaProfiles { get; }
    }
}
